@layout("/common/_container.html"){
<style>
	.input-group{
		/*width:45%;*/
	}
	.row input[type=text],.form-control, .single-line{
	    width:35%;
        float:left;
    }
    .error{
        color:red;
        float:left;
        padding-top: 7px;
        padding-left: 10px;
    }
    .isShow label{
        padding-right:10px;
        padding-top:3px;
    }
	.input-group{
		width:60%;
		margin:0 auto;
	}
	.row input[type=text]{
	width:45%; 
    }
    .error{
        color:red;
    }
</style>

<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="menuId" value="${item.menuId}">

            <div class="row">
            <#input id="menuName" name="菜单名称" value="${item.menuName}" underline="true"/>
                              <input id="menuType" type="hidden" value="${item.menuType}"/>
                				<#Select id="goods1"  name="菜单类型" >
	                     				 <option id="g1" value="0">用户菜单</option>
	                     				 <option id="g2" value="1">商家菜单</option>
  　　　　　            				  </#Select>
               				</br>
                             <#input id="menuSort" name="菜单排序" value="${item.menuSort}" underline="true"/>
                             <#input id="menuUrl" name="菜单Url" value="${item.menuUrl}" underline="true"/>
                            <#input id="iconClass" name="附加资源" value="${item.iconClass}" underline="true"/>
                           
                           <div style="displa:flex;width:900px;height:50px;line-height:30px;margin:0 auto;">
				                 <span>是否显示</span>
		               			<input type="radio" id="isShow" name="isShow" value='1'/>显示
		               			<input type="radio" id="isNotShow" name="isShow" value='0'/>不显示
							</div>
                              
               			<script>
              				let isShow = ${item.isShow} == '1'
              				$('#isShow').attr('checked', isShow), $('#isNotShow').attr('checked', !isShow);
              				</script>
               <!--  <div class="col-sm-6 b-r">
                		</div> -->
           			 </div>
            <div class="row btn-group-m-t">
                <div class="col-sm-10" style="text-align:center;">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="HomeMenusInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="HomeMenusInfoDlg.close()"/>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/huamao/homeMenus/homeMenus_info.js"></script>
@}
